package com.honweek;

public class Runnable2 {
    public static void main(String[] args) {
        Myrunnable mr = new Myrunnable();
        Thread td = new Thread(mr,"刘露露吃屁");
        td.start();
        for(int i = 0; i<100; i++)
        System.out.println("说的对！"+i);

    }
}

class Myrunnable implements Runnable{
    @Override
    public void run() {
        for(int i=0; i<100; i++){
            System.out.println(Thread.currentThread().getName()+i);
        }
    }
}
